/** FASSIT (Forms of Selective Attention in Intelligent Transportation Systems)
 * Computational Creativity and Digital Media
 * Cognitive and Media Systems Group
 * Centre for Informatics and Systems of the University of Coimbra (CISUC)
 *
 * Copyright (c) 2010-2013 University of Coimbra, Portugal
 * All rights reserved.
 */
package poi.Surprise;

/**
 * This class defines the SurpriseDaysOff object
 * 
 * @author Hernani Costa
 * @version 0.1 date: 20/11/2012
 */
public class SurpriseDaysOff {
	private double sunday, monday, tuesday, wednesday, thursday, friday,
			saturday;

	/**
	 * ------------------------------------------------------------------------
	 * Constructor class
	 * ------------------------------------------------------------------------
	 * 
	 * @param sunday
	 * @param monday
	 * @param tuesday
	 * @param wednesday
	 * @param thursday
	 * @param friday
	 * @param saturday
	 */
	public SurpriseDaysOff(double sunday, double monday, double tuesday,
			double wednesday, double thursday, double friday, double saturday) {
		this.sunday = sunday;
		this.monday = monday;
		this.tuesday = tuesday;
		this.wednesday = wednesday;
		this.thursday = thursday;
		this.friday = friday;
		this.saturday = saturday;
	}

	// ------------------------------------------------------------------------
	// ------------------------GETs and SETs-----------------------------------
	// ------------------------------------------------------------------------

	public double getSunday() {
		return sunday;
	}

	public double getMonday() {
		return monday;
	}

	public double getTuesday() {
		return tuesday;
	}

	public double getWednesday() {
		return wednesday;
	}

	public double getThursday() {
		return thursday;
	}

	public double getFriday() {
		return friday;
	}

	public double getSaturday() {
		return saturday;
	}

	/**
	 * ------------------------------------------------------------------------
	 * Returns a String with the Surprise's DaysOff
	 * ------------------------------------------------------------------------
	 */
	public String to_String() {
		String info = String
				.format("Surprise-DaysOff[Sunday=%f, Monday=%f, Tuesday=%f, Wednesday=%f, Thursday=%f, Friday=%f, Saturday=%f",
						getSunday(), getMonday(), getTuesday(), getWednesday(),
						getThursday(), getFriday(), getSaturday());

		info += "]";
		return info;
	}
}
